<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>登录页面</title>
</head>
<body>
<h1>用户登录</h1>
<form th:action="@{/doLogin}" method="post">
  用户名：<input name="uname" type="text"><br>
  密码：<input name="passwd" type="text"><br>
  <!--  value的可选值true | yes | on | 1都可以  -->
  记住我：<input name="remember-me" type="checkbox" value="true">
  <input type="submit" value="登录">
</form>
<h3>
  <div th:text="${session.SPRING_SECURITY_LAST_EXCEPTION}"></div>
</h3>
</body>
</html>
